package cn.fzkj.common.constant;

/** 通用的常量信息 */
public class Constants {

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /** 验证码有效时间 */
    public static final Integer CAPTCHA_EXPIRATION = 2;

    /** 验证码redis前缀 */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /** token redis前缀 **/
    public static final String LOGIN_TOKEN_KEY = "login_token:";

    /**
     * 令牌
     */
    public static final String TOKEN = "token";

    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 令牌前缀
     */
    public static final String LOGIN_USER_KEY = "login_user_key";

    /** 图片redis前缀 */
    public static final String IMG_PREFIX = "common_img"; // 图片前缀

    /** 句子redis前缀 */
    public static final String WORD_PREFIX = "common_word"; // 句子前缀

}
